package cn.xlbweb.sso.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.servlet.ModelAndView;

/**
 * @author: bobi
 * @date: 2019-03-09 17:32
 * @description:
 */
@RestController
@RequestMapping("role")
public class RoleController {


    @GetMapping("list")
    public ModelAndView index() {
        ModelAndView modelAndView = new ModelAndView();
        modelAndView.setViewName("/role/role-list");
        return modelAndView;
    }
}
